package com.atguigu.boot.config;

import com.atguigu.boot.pojo.Dog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * spring-boot
 * 2022/9/13 20 43
 */
@Configuration
@Import (MyBeanConfig.class)
public class Config {
    @Bean
    public Dog myDog(){
     return new Dog (3,"卢本伟");
    }
}
